import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {ModalModule} from 'ngx-bootstrap/modal';
import {PaginationModule} from 'ngx-bootstrap';

// 组件

// routing
import {MessageService} from './message.service';
import {MessageRoutingModule} from './message-routing.module';
import {MessageListComponent} from './message-list/message-list.component'
import {AddressSelectionModule} from '../../shared/address-selection/address-selection.module';
import {CropperModule} from '../../shared/cropper/cropper.module';

@NgModule({
    imports: [
        CommonModule,
        MessageRoutingModule,
        ModalModule.forRoot(),
        PaginationModule,
        FormsModule,
        AddressSelectionModule,
        CropperModule
    ],
    providers: [MessageService],
    declarations: [MessageListComponent]
})
export class MessageModule {
}
